import React from 'react'
import Header from "../Header/Header";
import styles from '../../style.css'
import Cart from "../Cart/Cart";
import {connect} from "dva";

class Home extends React.Component {
  constructor(props) {
    super(props)
    this.state = ({
      title: '购物车',
    })
  }

  render() {
    return (
      <div>
        <Header title={this.state.title}></Header>
      <div className={styles.container}>
        <Cart></Cart>
      </div>
      </div>
    )
  }
}

export default connect()(Home)
